from django import forms


class PubBlogForm(forms.Form):
    title = forms.CharField(min_length=2, max_length=100)
    content = forms.CharField(min_length=2)
    category = forms.IntegerField()


class BlogdetailForm(forms.Form):
    blog_id = forms.IntegerField()
    title = forms.CharField(min_length=2, max_length=100)
    content = forms.CharField(min_length=2)


class BlogCommentForm(forms.Form):
    blog_id = forms.IntegerField()
    content = forms.CharField(min_length=2)
